package cn.dengta.webapp.trade.entity;

import cn.dengta.webapp.base.entity.TimeBasedEntity;
import cn.dengta.webapp.trade.model.UserEquityType;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 用户权益日志
 */
@Setter
@Getter
@Accessors(chain = true)
@TableName("im_user_equity_bag_log")
public class UserEquityBagLog extends TimeBasedEntity {

	/** 礼物背包活动 */
	public static final String bag_buss_gift_bag_activity = "gift_bag_activity";

	/** 用户id */
	private Long userId;
	/** 权益类型：1=视频卡；2=语音卡; 3=礼物; 4=头像框 */
	private UserEquityType type;
	/** 背包ID */
	private Long bagId;
	/** 业务标识 */
	private String buss;

	/** 此次变更权益总数 */
	private Integer total;

}
